package user

import (
	"day12_11_homework/internal/api/user"
	"day12_11_homework/internal/middleware"
	"github.com/gin-gonic/gin"
)

func UserLoginRouterRouter(c *gin.RouterGroup) {
	users := c.Group("/userAfter").Use(middleware.AutoMiddle())
	{
		users.POST("/updateStatus", user.UpdateStatus)
		users.POST("/delUsers", user.DelUser)
	}
}
